package cn.acac.yygh.user;

import cn.acac.yygh.model.user.Patient;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("service-user")
public interface PatientFeignClient {

    /**
     * 根据id查询就诊人信息
     * @param id
     * @return
     */
    @GetMapping("/user/userInfo/patient/findPatient/{id}")
    public Patient findPatient(@PathVariable("id")Long id);
}
